﻿using Microsoft.EntityFrameworkCore.Migrations;

#nullable disable

namespace Sowrk03_28.Repository.Migrations
{
    public partial class 删除公司表生产小组 : Migration
    {
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DropColumn(
                name: "Group",
                table: "FirmInfo");

            migrationBuilder.DropColumn(
                name: "GroupPrincipal",
                table: "FirmInfo");

            migrationBuilder.AddColumn<string>(
                name: "licenseNumber",
                table: "FirmInfo",
                type: "nvarchar(max)",
                nullable: true);
        }

        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DropColumn(
                name: "licenseNumber",
                table: "FirmInfo");

            migrationBuilder.AddColumn<string>(
                name: "Group",
                table: "FirmInfo",
                type: "nvarchar(50)",
                maxLength: 50,
                nullable: true);

            migrationBuilder.AddColumn<string>(
                name: "GroupPrincipal",
                table: "FirmInfo",
                type: "nvarchar(50)",
                maxLength: 50,
                nullable: true);
        }
    }
}
